TEXT WIDTH

This command will return the width of the provided string using the current text settings.

  Syntax
Return Integer=TEXT WIDTH(String)
  Parameters
String
String
The string this command will use to get the width from

  Returns

The value returned is the width in pixels of the specified string

  Example Code
PRINT TEXT WIDTH("Hello World")
WAIT KEY
  See also

TEXT Commands Menu
Index